/**
 * output package name
 */
package com.kingdee.eas.minghua.jczlwh.mj;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class DirectivityEnum extends StringEnum
{
    public static final String BORROW_VALUE = "10";
    public static final String LOAN_VALUE = "20";

    public static final DirectivityEnum borrow = new DirectivityEnum("borrow", BORROW_VALUE);
    public static final DirectivityEnum loan = new DirectivityEnum("loan", LOAN_VALUE);

    /**
     * construct function
     * @param String directivityEnum
     */
    private DirectivityEnum(String name, String directivityEnum)
    {
        super(name, directivityEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DirectivityEnum getEnum(String directivityEnum)
    {
        return (DirectivityEnum)getEnum(DirectivityEnum.class, directivityEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DirectivityEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DirectivityEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DirectivityEnum.class);
    }
}